﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace UIExpert.Web.Controllers
{
    public class ModuleController : Controller
    {
        public ActionResult GoTo(string id)
        {
            string module = id;
            
            return View("/Views/" + module + "/Catalog.cshtml");
        }

        public ActionResult GoCategory(string module, string category)
        {
            return View("/Views/" + module + "/" + category + "/Idx.cshtml");
        }
    }
}
